#ifndef CHANGEPASSWORD_H
#define CHANGEPASSWORD_H

#include <QMainWindow>
#include <QFile>
#include <QMouseEvent>
#include <QToolTip>

#include "settings.h"

namespace Ui {
class changepassword;
}

class changepassword : public QMainWindow
{
    Q_OBJECT

public:
    explicit changepassword(QWidget *parent = nullptr);
    ~changepassword();

public slots:
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);

signals:
    void changePassword(QString password);

private slots:
    void on_closeButton_clicked();

    void on_passwordLineEdit_textChanged(const QString &arg1);

    void on_reNewPasswordLineEdit_textChanged(const QString &arg1);

    void on_NewpasswordLineEdit_textChanged(const QString &arg1);

    void on_sureButton_clicked();

private:
    Ui::changepassword *ui;
    QPoint mouseOff;
};

#endif // CHANGEPASSWORD_H
